package com.example.demoforspringboot.service;

import com.example.demoforspringboot.entity.User;
import com.example.demoforspringboot.entity.UserPasswordEdit;

public interface IUserService {

    int save(User user) throws Exception;

    User getById(Integer id) throws Exception;

    User getById2(Integer id);

    User update(UserPasswordEdit userPasswordEdit);
}
